WARNING: This program has a bug, which means we need to fix it! This program has a logic error!

Use comments in shape commands to determine which argument controls which part of the shape!

  • Click Run to see the error on the stage.
  • Notice that the width and height arguments for this rectangle are switched.
  • Fix the program so that it matches the see-thru shape that has a width of 30 and a height of 300.


To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)